<template>
  <div>
    <el-dialog
      :title="title"
      :visible.sync="show"
      width="300px"
      :modal-append-to-body="false"
    >
      <div class="text">小红书，视频号和淘宝发布请使用客户端进行发布</div>
      <div class="flex-c align-center mt">
        <el-button type="primary" @click="show=false">点击下载</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: '小红书'
    }
  },
  data() {
    return {
      show: false
    }
  },
  methods: {
    open() {
      this.show = true
    },
    close() {
      this.show = false
    }
  }
}
</script>
<style lang="scss" scoped>
.icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: 18px;
}
.text {
  font-size: 14px;
  font-weight: 400;
  line-height: 28.96px;
}
.mt {
  margin-top: 18px;
}
.tip {
  font-size: 14px;
  font-weight: 400;
  line-height: 21.72px;
  color: rgba(212, 48, 48, 1);
  margin-top: 36px;
}
</style>
